package com.zhongli.devplatform.po.common;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * (ReadComment)表实体类
 * @author aiyuan
 * @since 2020-07-31 10:08:21
 */
@Data
@TableName("read_comment")
@ApiModel
public class ReadCommentPO{

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 视频id
     */
    @ApiModelProperty(name = "videoId",value = "视频id")
    private Integer videoId;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "userId",value = "当前用户id，不需要传参")
    private Integer userId;
    /**
     * 评论内容
     */
    @ApiModelProperty(name = "comment",value = "评论类容")
    private String comment;
    /**
     * 评论时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(name = "createTime",value = "评论时间，不需要传参")
    private Date createTime;
}
